package org.example.springboot.convert;

import org.example.springboot.entity.FmcControl;
import org.example.springboot.query.FmcControlQuery;
import org.example.springboot.vo.FmcControlVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface FmcControlConvert {

    FmcControlConvert INSTANCE = Mappers.getMapper(FmcControlConvert.class);

    FmcControl convert(FmcControlVO vo);

    FmcControlVO convert(FmcControl entity);

    FmcControlQuery convertQuery(FmcControl query);

    List<FmcControlVO> convertList(List<FmcControl> list);

}